package com.intelligent;

import com.intelligent.annotation.EnableOperationLog;
import com.intelligent.aspect.OperationLogAspect;
import com.intelligent.config.OperationLogAutoConfig;
import com.intelligent.mapper.OperationLogsMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.intelligent.feign")
@MapperScan("com.intelligent.mapper")
@EnableConfigurationProperties
@EnableOperationLog
public class IntelligentLoginApplication {
    public static void main(String[] args) {
        SpringApplication.run(IntelligentLoginApplication.class, args);
    }
}
